(global.webpackJsonp = global.webpackJsonp || []).push([ [ "xg_o2o/article/articlelist" ], {
    6400: function(t, e, i) {
        "use strict";
        i.r(e);
        var n = i("a427"), a = i("de97");
        for (var o in a) "default" !== o && function(t) {
            i.d(e, t, function() {
                return a[t];
            });
        }(o);
        var r = i("f0c5"), c = Object(r.a)(a.default, n.b, n.c, !1, null, null, null, !1, n.a, void 0);
        e.default = c.exports;
    },
    a427: function(t, e, i) {
        "use strict";
        i.d(e, "b", function() {
            return a;
        }), i.d(e, "c", function() {
            return o;
        }), i.d(e, "a", function() {
            return n;
        });
        var n = {
            gracePage: function() {
                return i.e("graceUI/components/gracePage").then(i.bind(null, "1915"));
            },
            graceFullLoading: function() {
                return i.e("graceUI/components/graceFullLoading").then(i.bind(null, "7669"));
            },
            divider: function() {
                return i.e("components/divider/divider").then(i.bind(null, "bdb7"));
            },
            graceEmptyNew: function() {
                return i.e("graceUI/components/graceEmptyNew").then(i.bind(null, "fb2f"));
            },
            graceLoading: function() {
                return i.e("graceUI/components/graceLoading").then(i.bind(null, "93a5"));
            }
        }, a = function() {
            this.$createElement, this._self._c;
        }, o = [];
    },
    bfb3: function(t, e, i) {
        "use strict";
        (function(t) {
            function e(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            i("4e1e"), e(i("66fd")), t(e(i("6400")).default);
        }).call(this, i("543d").createPage);
    },
    de97: function(t, e, i) {
        "use strict";
        i.r(e);
        var n = i("ea35"), a = i.n(n);
        for (var o in n) "default" !== o && function(t) {
            i.d(e, t, function() {
                return n[t];
            });
        }(o);
        e.default = a.a;
    },
    ea35: function(t, e, i) {
        "use strict";
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var n = i("256d"), a = {
                data: function() {
                    return {
                        isLoading: !0,
                        showBack: !1,
                        attach: "",
                        bgColor: "",
                        textColor: "",
                        topTitle: "",
                        articleList: [],
                        pid: 0,
                        loadingType: 0,
                        logo: "",
                        page: 1,
                        shareimg: ""
                    };
                },
                onLoad: function(t) {
                    var e = this, i = getCurrentPages();
                    this.showBack = i.length > 1, this.pid = t.pid;
                    var n = this.$xmgSign.sign("u8article", this.$a, this.$x, this.$n);
                    this.$xRequest.request({
                        url: "entry/wxapp/u8article",
                        getSession: "no",
                        data: {
                            op: "getmenu",
                            xgsign: n,
                            pid: this.pid
                        },
                        success: function(t) {
                            var i = JSON.parse(e.$Decrypt(t.data.data));
                            e.topTitle = i.catename, e.attach = i.attach, e.bgColor = i.bgColor, e.textColor = i.textColor, 
                            e.logo = i.logo ? i.logo : "../../static/empty/a2.jpg", e.shareimg = i.img, e.loadData(1);
                        },
                        fail: function(t) {},
                        complete: function(t) {}
                    });
                },
                onShareAppMessage: function(t) {
                    return {
                        title: this.topTitle,
                        path: "/xg_o2o/article/articlelist?pid=" + this.pid,
                        imageUrl: this.attach + this.shareimg
                    };
                },
                onShareTimeline: function(t) {
                    return {
                        title: this.topTitle,
                        query: "pid=" + this.pid,
                        imageUrl: this.attach + this.shareimg
                    };
                },
                methods: {
                    tourl: function(e) {
                        var i = e.currentTarget.dataset.pid;
                        t.navigateTo({
                            url: "article?id=" + i
                        });
                    },
                    loadData: function(e) {
                        var i = this;
                        1 != this.loadingType && 2 != this.loadingType && (1 == e ? this.isLoading = !0 : t.showLoading({
                            title: "加载中",
                            mask: !0
                        }), this.loadingType = 1, setTimeout(function() {
                            var e = i.$xmgSign.sign("u8article", i.$a, i.$x, i.$n);
                            i.$xRequest.request({
                                url: "entry/wxapp/u8article",
                                getSession: "no",
                                data: {
                                    op: "getlist",
                                    xgsign: e,
                                    page: i.page,
                                    pid: i.pid
                                },
                                success: function(e) {
                                    var a = JSON.parse(i.$Decrypt(e.data.data));
                                    i.articleList = n.arrayConcat(i.articleList, a.itemlist), i.isLoading = !1, t.hideLoading(), 
                                    i.articleList.length >= a.total ? i.loadingType = 2 : (i.page++, i.loadingType = 0);
                                },
                                fail: function(t) {},
                                complete: function(t) {}
                            });
                        }, 1e3));
                    }
                },
                computed: {
                    style: function() {
                        var t = this.$systemInfo.info(), e = t.windowHeight - t.iPhoneXBottomHeightPx - t.statusBarHeight - 44;
                        return "height:".concat(e, "px;");
                    }
                }
            };
            e.default = a;
        }).call(this, i("543d").default);
    }
}, [ [ "bfb3", "common/runtime", "common/vendor" ] ] ]);